#include <stdio.h>

char x;

void exit()
{
	printf("Do you want to exit?:\n");
	scanf("&c", x);
	if(x == 'y' || x == 'Y')
	{
		printf("Now exiting.\n");
		sys_exit();
	}
	else if(x == 'n' || x == 'N')
	{
		init();
	}
	else
	{
		printf("Invalid command.\n");
		exit();
	}
}